package coffee.provider.bean;

import coffee.sqlite.annotation.Bean;
import coffee.sqlite.annotation.Column;
import coffee.sqlite.annotation.Id;

@Bean(name = "user")
public class UserBean {
	@Id
	@Column(name = "_id")
	private int id;
	private String username; // 账号名称
	private String password;
	private String nikeName; // 昵称
	private String realName; // 真实名称
	private String phone; //
	private int age;
	private int sex = 0; // 默认男

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNikeName() {
		return nikeName;
	}

	public void setNikeName(String nikeName) {
		this.nikeName = nikeName;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
}
